<%--
  Created by IntelliJ IDEA.
  User: TZZ
  Date: 2020/5/15
  Time: 12:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8"
         language="java"
         pageEncoding="UTF-8"
%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <%@ include file="../bootstrap.jsp"%>
  <title>新闻管理系统</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css" type="text/css">
</head>
<body>
<%
  response.setHeader("Pragma","No-Cache");
  response.setHeader("Cache-Control","No-Cache");
  response.setDateHeader("Expires", 0);
%>
<header>
  <botton><a href="${pageContext.request.contextPath}/LoginOut.filter">安全退出</a></botton>
</header>
<div class="show">
  <div class="admin"><span>当前用户：${user.u_name}</span></div>
  <div class="item"><span>当前：首页 --&nbsp;</span><span id="change">账户管理</span></div>
</div>
<script src="${pageContext.request.contextPath}/js/main.js"></script>
<div id="show-main">
  <div id="left">
    <a href="${pageContext.request.contextPath}/UserServlet.filter" target="pages"><img src="${pageContext.request.contextPath}/img/icon_01.png" alt=""><span onclick="change(this)">账户管理</span></a>
    <a href="${pageContext.request.contextPath}/TypeServlet.filter" target="pages"><img src="${pageContext.request.contextPath}/img/icon_02.png" alt=""><span onclick="change(this)">栏目管理</span></a>
    <a href="${pageContext.request.contextPath}/NewsServlet.filter" target="pages"><img src="${pageContext.request.contextPath}/img/icon_03.png" alt=""><span onclick="change(this)">新闻管理</span></a>
  </div>
  <iframe src="${pageContext.request.contextPath}/UserSelectAllServlet.filter" name="pages"></iframe>
</div>
</body>
</html>

